package scenic.toolkit;

import scenic.toolkit.db.NodeArray;
import scenic.toolkit.db.Property;

public class PanelModel extends ComponentModel {
	private static Property<NodeArray<PanelChild>> childrenProperty =
		new Property<NodeArray<PanelChild>>("children");
	
	public PanelModel() {
		childrenProperty.set(this, new NodeArray<PanelChild>(null));
	}
	
	public PanelView createComponent() {
		return new PanelView(this);
	}

	public NodeArray<PanelChild> getChildren() {
		return childrenProperty.get(this);
	}	
}
